package cn.com.bluemoon.daps.system.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@Accessors
@ApiModel(value = "DapSystemMenuCollect", description = "系统名称表（全称-简称）")
public class DapSystemMenuCollect extends BaseModel<DapSystemMenuCollect> {

    @ApiModelProperty(value = "菜单名称")
    @NotNull(message = "菜单名称不允许为空")
    @Size(max = 36, message = "菜单名称不能超过36")
    private String menuName;

    @ApiModelProperty(value = "路径")
    @NotNull(message = "路径不允许为空")
    @Size(max = 500, message = "路径长度不能超过500")
    private String path;

    @ApiModelProperty(value = "参数")
    private String params;

    @ApiModelProperty(value = "描述")
    private String description;
}
